﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_WLKD_WLKDSource : DataSourceBase<SHZY_WLKD_WLKD>
    {
        protected override void OnInserting(SHZY_WLKD_WLKD model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_WLKD_WLKD : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        public string WLDH { get; set; }


        [Source("寄件人姓名", Show = true, ShowIndex = 0, Condition = true)]
        public string JJR_XM { get; set; }


        public string JJR_ZJHM { get; set; }


        [Source("寄件人电话", Show = true, ShowIndex = 1, Condition = true)]
        public string JJR_PHONE { get; set; }


        public string JJR_DW { get; set; }


        [Source("寄件人地址", Show = true, ShowIndex = 2, Condition = true)]
        public string JJR_DZ { get; set; }


        public string JJR_XXDZ { get; set; }


        public string JJR_XZQH { get; set; }


        public string FJSJ { get; set; }


        [Source("收件人姓名", Show = true, ShowIndex = 3, Condition = true)]
        public string SJR_XM { get; set; }


        public string SJR_ZJHM { get; set; }


        [Source("收件人电话", Show = true, ShowIndex = 4, Condition = true)]
        public string SJR_PHONE { get; set; }


        public string SJR_DW { get; set; }


        [Source("收件人地址", Show = true, ShowIndex = 5, Condition = true)]
        public string SJR_DZ { get; set; }


        public string SJR_XXDZ { get; set; }


        public string SJR_XZQH { get; set; }


        public string SJSJ { get; set; }


        public string WPMC { get; set; }


        public string WLGSMC { get; set; }


        public string WLGSDM { get; set; }


        public string WLGSDH { get; set; }


        public string BZ { get; set; }


        public string QT { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }

        public DateTime? UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Express_Info;
    }
}
